﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.IDAL
{
    public interface IRolePopedom
    {
        /// <summary>
        /// 返回角色的权限表
        /// </summary>
        /// <param name="userrole">角色 1,2 </param>
        /// <returns></returns>
        System.Collections.Hashtable getUserPopedomMenu(string userrole);

        /// <summary>
        /// 保存角色权限
        /// </summary>
        /// <param name="rid">角色ID</param>
        /// <param name="popedomlist">权限列表</param>
        void saveRolePopedom(int rid, IList popedomlist);

        /// <summary>
        /// 所有内容栏目
        /// </summary>
        /// <returns></returns>
        IList getColumnList();
        /// <summary>
        /// 所有系统栏目
        /// </summary>
        /// <returns></returns>
        IList getSysColumnList();
    }
}
